import { createRouter,createWebHistory,createWebHashHistory } from 'vue-router'
import index from '../pages/index.vue'
import notMobile from '../pages/not_mobile/index.vue'
import main from '../pages/main/main.vue'
import list from '../pages/list/index.vue'
import pic from '../pages/pic/index.vue'
import pic2 from '../pages/pic2/index.vue'
import vid from '../pages/vid/list.vue'
import vid2 from '../pages/vid2/index.vue'
const routes = [
    {
        path: '/',
        name:'index',
        component:index
    },
    {
        path: '/main',
        name:'main',
        component:main
    },
    {
        path: '/list',
        name:'list',
        component:list
    },
    {
        path: '/pic',
        name:'pic',
        component:pic
    },
    {
        path: '/pic2',
        name:'pic2',
        component:pic2
    },
    {
        path: '/vid',
        name:'vid',
        component:vid
    },
    {
        path: '/vid2',
        name:'vid2',
        component:vid2
    },
    {
        path:'/notMobile',
        name:'notMobile',
        component:notMobile
    }
]

const router = createRouter({
    // history: createWebHistory(),
    history:createWebHashHistory(),
    routes,
})

export default router;